package com.example.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.base.entity.Chapter;

import java.util.List;
import java.util.Map;

public interface ChapterService {

    public Map<String, Object> selectChapter(Chapter chapter, Integer page, Integer size, String courseName);
    public Integer addChapter(Chapter chapter);
    public Integer updateChapter(Chapter chapter);
    public Integer delChapter(String chapterId);
}
